<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Objective-C API Reference for iOS/macOS: 文件存储模块</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Objective-C API Reference for iOS/macOS
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#enum-members">枚举</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">文件存储模块</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage.html">JCStorage</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage_item.html">JCStorageItem</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">protocol &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="protocol_j_c_storage_callback-p.html">&lt;JCStorageCallback&gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:ga91478557da1165b556b3eb60c05a46bf"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ga91478557da1165b556b3eb60c05a46bf">JCStorageReason</a> : NSInteger { <br />
&#160;&#160;<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gga91478557da1165b556b3eb60c05a46bfaeca33d3eb89c20fe459b8d72fd57667b">JCStorageReasonNone</a>, 
<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gga91478557da1165b556b3eb60c05a46bfa57a76aaa6ca7b283795cc5035f0e4ee1">JCStorageReasonNotLogin</a>, 
<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gga91478557da1165b556b3eb60c05a46bfa6049bcd1162391f0d5305204d84638ba">JCStorageReasonNetWork</a>, 
<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gga91478557da1165b556b3eb60c05a46bfa25a6dcb95feea6fee8f48421d00846af">JCStorageReasonTooLarge</a> = 30, 
<br />
&#160;&#160;<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gga91478557da1165b556b3eb60c05a46bfa7fdf5beb7217db17f5cbeebae4cc6dd7">JCStorageReasonTimeOut</a>, 
<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gga91478557da1165b556b3eb60c05a46bfab57782e014dd3abff1305324a6b096de">JCStorageReasonExpire</a>, 
<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gga91478557da1165b556b3eb60c05a46bfa57d3bae776d11d00e1214962e2371a47">JCStorageReasonOther</a> = 100
<br />
 }</td></tr>
<tr class="separator:ga91478557da1165b556b3eb60c05a46bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae8b946edea3b6539810da539fd31af28"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gae8b946edea3b6539810da539fd31af28">JCStorageItemState</a> : NSInteger { <br />
&#160;&#160;<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ggae8b946edea3b6539810da539fd31af28a0d3d80899dded540996f9dd5e33143d5">JCStorageItemStateInit</a>, 
<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ggae8b946edea3b6539810da539fd31af28a1e4cee4fa71de637f714312b9db206ea">JCStorageItemStateTransfering</a>, 
<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ggae8b946edea3b6539810da539fd31af28ab336ed63358e3a9ed7bb19476a72ac6b">JCStorageItemStateOK</a>, 
<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ggae8b946edea3b6539810da539fd31af28a18fb75843dbb6b6050cc1e027bf097d8">JCStorageItemStateFail</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ggae8b946edea3b6539810da539fd31af28a8caa013656fa3eab1b148d9bc84298c3">JCStorageItemStateCancel</a>
<br />
 }</td></tr>
<tr class="separator:gae8b946edea3b6539810da539fd31af28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab1a6536b76be865d753f8ce57772017e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gab1a6536b76be865d753f8ce57772017e">JCStorageItemDirection</a> : NSInteger { <a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ggab1a6536b76be865d753f8ce57772017eaca288ae0245b773bf30d2928dfc9fc38">JCStorageItemDirectionUpload</a>, 
<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ggab1a6536b76be865d753f8ce57772017ea9576356c693836c7e572f6e3eac94bb1">JCStorageItemDirectionDownload</a>
 }</td></tr>
<tr class="separator:gab1a6536b76be865d753f8ce57772017e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:gad1b8da13e5416c688d01548984df548b"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gad1b8da13e5416c688d01548984df548b">JCStorageFileExpire</a></td></tr>
<tr class="separator:gad1b8da13e5416c688d01548984df548b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<h2 class="groupheader">枚举类型说明</h2>
<a id="gab1a6536b76be865d753f8ce57772017e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab1a6536b76be865d753f8ce57772017e">&#9670;&nbsp;</a></span>JCStorageItemDirection</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gab1a6536b76be865d753f8ce57772017e">JCStorageItemDirection</a> : NSInteger</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>文件传输方向 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="ggab1a6536b76be865d753f8ce57772017eaca288ae0245b773bf30d2928dfc9fc38"></a>JCStorageItemDirectionUpload&#160;</td><td class="fielddoc"><p>上传 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab1a6536b76be865d753f8ce57772017ea9576356c693836c7e572f6e3eac94bb1"></a>JCStorageItemDirectionDownload&#160;</td><td class="fielddoc"><p>下载 </p>
</td></tr>
</table>

</div>
</div>
<a id="gae8b946edea3b6539810da539fd31af28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae8b946edea3b6539810da539fd31af28">&#9670;&nbsp;</a></span>JCStorageItemState</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gae8b946edea3b6539810da539fd31af28">JCStorageItemState</a> : NSInteger</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>文件传输状态 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="ggae8b946edea3b6539810da539fd31af28a0d3d80899dded540996f9dd5e33143d5"></a>JCStorageItemStateInit&#160;</td><td class="fielddoc"><p>文件初始状态 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae8b946edea3b6539810da539fd31af28a1e4cee4fa71de637f714312b9db206ea"></a>JCStorageItemStateTransfering&#160;</td><td class="fielddoc"><p>文件传输中状态 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae8b946edea3b6539810da539fd31af28ab336ed63358e3a9ed7bb19476a72ac6b"></a>JCStorageItemStateOK&#160;</td><td class="fielddoc"><p>文件传输成功状态 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae8b946edea3b6539810da539fd31af28a18fb75843dbb6b6050cc1e027bf097d8"></a>JCStorageItemStateFail&#160;</td><td class="fielddoc"><p>文件传输失败状态 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae8b946edea3b6539810da539fd31af28a8caa013656fa3eab1b148d9bc84298c3"></a>JCStorageItemStateCancel&#160;</td><td class="fielddoc"><p>文件传输取消状态 </p>
</td></tr>
</table>

</div>
</div>
<a id="ga91478557da1165b556b3eb60c05a46bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga91478557da1165b556b3eb60c05a46bf">&#9670;&nbsp;</a></span>JCStorageReason</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ga91478557da1165b556b3eb60c05a46bf">JCStorageReason</a> : NSInteger</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>文件传输错误原因 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="gga91478557da1165b556b3eb60c05a46bfaeca33d3eb89c20fe459b8d72fd57667b"></a>JCStorageReasonNone&#160;</td><td class="fielddoc"><p>无异常 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga91478557da1165b556b3eb60c05a46bfa57a76aaa6ca7b283795cc5035f0e4ee1"></a>JCStorageReasonNotLogin&#160;</td><td class="fielddoc"><p>未登录 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga91478557da1165b556b3eb60c05a46bfa6049bcd1162391f0d5305204d84638ba"></a>JCStorageReasonNetWork&#160;</td><td class="fielddoc"><p>网络异常 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga91478557da1165b556b3eb60c05a46bfa25a6dcb95feea6fee8f48421d00846af"></a>JCStorageReasonTooLarge&#160;</td><td class="fielddoc"><p>文件太大 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga91478557da1165b556b3eb60c05a46bfa7fdf5beb7217db17f5cbeebae4cc6dd7"></a>JCStorageReasonTimeOut&#160;</td><td class="fielddoc"><p>超时 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga91478557da1165b556b3eb60c05a46bfab57782e014dd3abff1305324a6b096de"></a>JCStorageReasonExpire&#160;</td><td class="fielddoc"><p>文件过期 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga91478557da1165b556b3eb60c05a46bfa57d3bae776d11d00e1214962e2371a47"></a>JCStorageReasonOther&#160;</td><td class="fielddoc"><p>其他错误 </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="gad1b8da13e5416c688d01548984df548b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad1b8da13e5416c688d01548984df548b">&#9670;&nbsp;</a></span>JCStorageFileExpire</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int JCStorageFileExpire</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
